From f6a5b5bcb6ac2537fc341e38ed6c16e988e6f26f Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Apr 2008 15:58:21 +0000 Subject: [PATCH] Don't write empty URLs to LMX format. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3167 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/lmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/lmx.c b/gpsbabel/lmx.c index 42364b31d..5082a0cc0 100644 --- a/gpsbabel/lmx.c +++ b/gpsbabel/lmx.c @@ -90,7 +90,7 @@ lmx_print(const waypoint *wpt) } gbfprintf(ofd, " \n"); - if (wpt->url) { + if (wpt->url && wpt->url[0]) { gbfprintf(ofd, " \n"); if (wpt->url_link_text) lmx_write_xml(5,"lm:name", wpt->url_link_text); -- 2.30.2